<?php if(!defined('EMLOG_ROOT')) {exit('error!');} ?>
<div class="w970">
	<div id="main">
			<div class="post_nav">
				
				<span><?php neighbor_log($neighborLog); ?></span>
			</div>
			<div class="post">
				<div class="meta">
					<span class="time">
					<?php echo gmdate('Y-n-j', $date); ?>
					</span> 
					<?php blog_sort($logid); ?> <br />
					<?php blog_tag($logid); ?> <br /><br /> <br />
					<?php echo $views; ?> views<br />
					<?php editflg($logid,$author); ?>
				</div>
				<div class="content">
					<h2><?php topflg($top); ?><?php echo $log_title; ?></h2>
					<?php echo $log_content; ?>
					<div class="fujian"><?php blog_att($logid); ?></div>
				</div>
			</div>	
			<div id="post_metadata">
				<h3>日志信息 &raquo;</h3>
				<div class="content">
					该日志于 <?php echo gmdate('Y-n-j G:i l', $date); ?> 由 <?php blog_author($author); ?> 发表，		
					您可以<a href="#comment">发表评论</a>。除了可以将这个日志以保留<a href="<?php echo Url::log($logid); ?>" rel="bookmark">源地址</a>及作者的情况下<a href="#tb">引用</a>到您的网站或博客，还可以通过<a title="RSS订阅" href="<?php echo BLOG_URL; ?>rss.php">RSS</a>订阅这个日志的所有评论。
				<?php doAction('log_related', $logData); ?>
				</div>
			</div>	
			<div id="post_metadata">
				<h3>引用日志 &raquo;</h3>
				<div class="content">
					<?php blog_trackback($tb, $tb_url, $allow_tb); ?>
				</div>
			</div>
			<div id="post_metadata">
				<h3>
				<?php if ($comnum>=1){ ?>
				<?php echo $comnum; ?>条评论
				<?php } else { ?>
				等您评论<?php } ?>
				&raquo;</h3>	
				<div class="content">
				<?php blog_comments($comments); ?>
				<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark);?>	
				</div>
			</div>

	</div>
	<?php include View::getView('side'); ?>
</div>
<?php include View::getView('footer'); ?>
<!--end content-->